//package com.chapter1;
//
//import javax.xml.crypto.Data;
//import java.util.*;
//
//public class Operation {
//    PriorityQueue<Employee> queue;
//    TreeMap<Integer, Employee> map ;
//
//    public Operation(){
////        queue = new PriorityQueue<>((p1,p2) -> p2.data.compareTo(p1.data));
////        Comparator<TreeMap<Integer,Employee>> com = new Comparator<TreeMap<Integer, Employee>>() {
////            @Override
////            public int compare(TreeMap<Integer, Employee> o1, TreeMap<Integer, Employee> o2) {
////                o1.keySet()
////            }
////        }
//        map =  new TreeMap<>();
//    }
//
//    public boolean addEmployee(Employee employee){
//        return queue.offer(employee);
//    }
//
//    public boolean getEmployee(int n){
//        List<Employee> list = new ArrayList<>();
//        while(n > 0){
//            list.add(queue.poll());
//        }
//        return false;
//    }
//
//}
